package com.aier.classes.entity;

import java.sql.Timestamp;



public class InviteTeacher implements java.io.Serializable{

    /**
     * 邀请教师记录表  (邀请到班级)
     */
    private static final long serialVersionUID = 1L;

    private Long itid;        //标识
    private String tname;    //教师姓名
    private String phone;    //教师手机号
    private Long gid;        //职务id
    private Integer sid;    //学校id
    private Long cid;        //班级id
    private Long tid;        //发送邀请的教师id
    private Short state;    //状态 0:邀请中,1:同意,2:拒绝
    private Timestamp ctime;//邀请时间
    
    //扩展
    private String gname;            //职务名
    private String ctime_str;
    private String state_str;
    private String name_teacher;    //发送邀请的教师姓名
    private String name_school;        //学校名
    private String name_class;        //班级名
    
    public InviteTeacher() {
        super();
    }

    
    public InviteTeacher(Long itid, String tname, String phone, Long gid,
            Integer sid, Long cid, Long tid, Short state, Timestamp ctime) {
        super();
        this.itid = itid;
        this.tname = tname;
        this.phone = phone;
        this.gid = gid;
        this.sid = sid;
        this.cid = cid;
        this.tid = tid;
        this.state = state;
        this.ctime = ctime;
    }


    public Long getItid() {
        return itid;
    }

    public void setItid(Long itid) {
        this.itid = itid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getGid() {
        return gid;
    }

    public void setGid(Long gid) {
        this.gid = gid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Timestamp getCtime() {
        return ctime;
    }

    public void setCtime(Timestamp ctime) {
        this.ctime = ctime;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }


    public String getCtime_str() {
        return ctime_str;
    }


    public void setCtime_str(String ctime_str) {
        this.ctime_str = ctime_str;
    }


    public String getState_str() {
        return state_str;
    }


    public void setState_str(String state_str) {
        this.state_str = state_str;
    }


    public String getName_teacher() {
        return name_teacher;
    }


    public void setName_teacher(String name_teacher) {
        this.name_teacher = name_teacher;
    }


    public String getName_school() {
        return name_school;
    }


    public void setName_school(String name_school) {
        this.name_school = name_school;
    }


    public String getName_class() {
        return name_class;
    }


    public void setName_class(String name_class) {
        this.name_class = name_class;
    }


    public String getGname() {
        return gname;
    }


    public void setGname(String gname) {
        this.gname = gname;
    }



    
    
}
